class Student:
    def __init__(self, student_id, name, age, grade, height, weight, score, address, phone):
        self.student_id = student_id
        self.name = name
        self.age = age
        self.grade = grade
        self.height = height
        self.weight = weight
        self.score = score
        self.address = address
        self.phone = phone

    def study(self, time):
        print(f"{self.name}正在学习，学了{time}")

    def play(self, game_name):
        print(f"{self.name}正在玩{game_name}")

    def programming(self, row_count):
        print(f"{self.name}写了{row_count}行代码")

    def sum(self, *args):
        return sum(args)


class Char:
    def __init__(self, car_model, number_of_wheels, color, weight, mailbox_size):
        self.car_model = car_model
        self.number_of_wheels = number_of_wheels
        self.color = color
        self.weight = weight
        self.mailbox_size = mailbox_size

    def function(self, function):
        print(f"这是{function}")


char1 = Char("法拉利", 4, "red", "1670kg", "74L")
char2 = Char("宝马", 4, "black", "1500kg", "80L")
char3 = Char("铃木", 4, "white", "1500kg", "80L")
char4 = Char("五菱", 4, "blue", "1600kg", "70L")
char5 = Char("拖拉机", 4, "red", "1800kg", "100L")


class Computer:
    def __init__(self, model, use_time, color, weight, cpu, memory, hard_disk):
        self.model = model
        self.use_time = use_time
        self.color = color
        self.weight = weight
        self.cpu = cpu
        self.memory = memory
        self.hard_disk = hard_disk

    def play(self, game_name):
        print(f"{game_name}真好玩")

    def office(self):
        print("我正在办公")


class Monkey:
    def __init__(self, category, grade, color, weight):
        self.category = category
        self.grade = grade
        self.color = color
        self.weight = weight

    def make_fire(self, materials):
        print(f"{self.category}使用{materials}制作了火")

    def study(self, *something):
        print(f"{self.category}正在学习{something}")
